package charpter06;

/**
 * Created by Miracle yaochengwei on 2022/5/2 10:52
 */
public class DoWhile01 {
    //编写一个 main 方法
    public static void main(String[] args) {
        //输出10句你好韩顺平教育
        int i = 1;//循环变量初始化
        do {
            System.out.println("你好，韩顺平教育"+i);
            //循环变量迭代
            i++;
        }while (i<=10);
        System.out.println("退出 do..while" +i);//11
        System.out.println(+i);
    }
    }
